class Book:
    def __init__(self, title, author):
        self.title = title
        self.author = author
        self.is_borrowed = False

    def borrow_book(self):
        self.is_borrowed = True

    def return_book(self):
        self.is_borrowed = False

    def get_status(self):
        if self.is_borrowed:
            return "Взята"
        else:
            return "Доступна"


book1 = Book("Так говорил Заратустра", "Friedrich Nietzsche")
print(book1.get_status())

book1.borrow_book()
print(book1.get_status())

book1.return_book()
print(book1.get_status())
